#ifndef __WPTH_MAINFRAME_H__
#define __WPTH_MAINFRAME_H__

#include "defs.h"
#include "wx/timer.h"
#include "pagecontainer.h"
#include "infopage.h"
#include "mainpage.h"

class MainFrame : public wxFrame, public PageContainer
{
public:
	MainFrame();

protected:
	void OnSize(wxSizeEvent& evt);
	void OnTimer(wxTimerEvent& evt);
	void OnCloseWindow(wxCloseEvent& event);

protected:
	MainPage* m_mainPage;
	wxTimer* m_timer;
	DECLARE_EVENT_TABLE()
};
#endif